package com.cn.system.utils;

import java.text.SimpleDateFormat;
import java.util.Date;

public class TimeUtils {

  public static String toDateToString(Date date) {
    SimpleDateFormat format1 = new SimpleDateFormat("yyyy-MM-dd");
    return format1.format(date);
  }
}
